#ifndef UTILS_H
#define UTILS_H

#include <string>
#include <sstream>
using namespace std;

bool StringToInt(const string &s, int &i)
{
  istringstream myStream(s);
  
  if (myStream>>i)
    return true;
  else
    return false;
}

#endif